package org.jeecg.modules.consumptionWater.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.consumptionWater.entity.ConsumptionWater;
import org.jeecg.modules.consumptionWater.entity.WaterSelectDTO;

import java.util.List;
import java.util.Map;

/**
 * @Description: 水能能耗
 * @Author: jeecg-boot
 * @Date:   2023-06-20
 * @Version: V1.0
 */
public interface IConsumptionWaterService extends IService<ConsumptionWater> {
    List<ConsumptionWater> selectByTimeAndDept(WaterSelectDTO selectDTO);

    Double getAll();

    List<Map<String,Object>> getAllGroupByDept();

    List<Map<String, Object>> getDayConsumption(String year, String month, String day);

}
